package com.gzc.pojo;

import org.apache.commons.lang3.time.DateUtils;

import java.math.BigDecimal;
import java.util.Date;

public class School {
    private Byte formal;

    private String province;

    private Long schoolID;

    private Long schoolDetailID;

    private Date createTime;

    private Double price;

    private BigDecimal bPrice;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getSchoolDetailID() {
        return schoolDetailID;
    }

    public void setSchoolDetailID(Long schoolDetailID) {
        this.schoolDetailID = schoolDetailID;
    }

    public Byte getFormal() {
        return formal;
    }

    public void setFormal(Byte formal) {
        this.formal = formal;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Long getSchoolID() {
        return schoolID;
    }

    public void setSchoolID(Long schoolID) {
        this.schoolID = schoolID;
    }

    @Override
    public String toString() {
        return "School{" +
                "formal=" + formal +
                ", province='" + province + '\'' +
                ", schoolID=" + schoolID +
                ", schoolDetailID=" + schoolDetailID +
                ", createTime=" + createTime +
                ", price=" + price +
                ", bPrice=" + bPrice +
                '}';
    }

    public School(Byte formal, String province, Long schoolID) {
        this.formal = formal;
        this.province = province;
        this.schoolID = schoolID;
    }

    public School(Long schoolID, Date createTime) {
        this.schoolID = schoolID;
        this.createTime = createTime;
    }

    public School(Byte formal, String province, Long schoolID, Long schoolDetailID, Date createTime) {
        this.formal = formal;
        this.province = province;
        this.schoolID = schoolID;
        this.schoolDetailID = schoolDetailID;
        this.createTime = createTime;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public BigDecimal getbPrice() {
        return bPrice;
    }

    public void setbPrice(BigDecimal bPrice) {
        this.bPrice = bPrice;
    }

    public School(Double price, BigDecimal bPrice) {
        this.price = price;
        this.bPrice = bPrice;
    }
}